package com.lhz.collector.service;

import com.lhz.collector.common.RestfulResult;
import com.lhz.collector.entity.User;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by LHZ on 2017/3/30.
 */
public interface UserService {
    User getByUsername(String username);
    RestfulResult register(User user);
    RestfulResult changePassword(String username, String oldPassword, String newPassword);
}
